class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :email
      t.string :hashed_password
      t.string :salt
      t.string :created_at
    #id already included
    
    t.string :first_name
    t.string :middle_name
    t.string :last_name
    
    #list of groups
    
    t.string :phone_num
    t.string :address
    
    t.string :alt_email
    
    t.integer :group_id
	t.string :authority
	
      t.timestamps
    end
  end
  def self.down
      drop_table :users
  end
end
